<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>for循环语句</title>
	<style type="text/css">
	table{
		height: 50px;
			width: 50px;
			background: red;
	}
	</style>

	<script type="text/javascript">
	document.write("<table border='1'>");
	for (var i = 1; i<10; i++) {
		document.write("<tr>")
		for (var j = 1; j<10; j++) {
			document.write("<td>123456</td>")
		}
		document.write("<tr>")

	}
	document.write("</table>")	

	

	</script>

</head>
<body>
	
</body>
</html>